﻿using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;
using System.Collections.Generic;

namespace PhoneUI.Com
{
    public sealed class GetWrkgrpsRequest : ILJTokenRequest<GetWrkgrpsResponse>
    {
        public string token { get; set; }
        // 车间ID，-1返回全部
        public int wkpid { get; set; }
        public string GetApiName()
        {
            return "GetWrkgrps";
        }
    }

    public sealed class GetWrkgrpsResponse : LJResponse
    {
        public List<Wrkgrp> wrkgrps { get; set; }
    }
}